package com.group.common.utils;


import org.springframework.stereotype.Service;

import java.util.Date;


@Service
public class StringUtils {

    //判断字符串非空
    public   boolean  isEmpty(String mobiles){
        if (mobiles!=null && mobiles!=""){
            return false;
        }
        return true;
    }
    //判断int非空
    public   boolean isVerification(Integer number){
        if (number!=null && number!=0){
            return false;
        }
        return true;
    }

    public   boolean isTimeVerification(Date date){
      if (date!=null){
          return false;
      }
        return true;
    }
}
